# -*- coding:utf-8 -*-
import numpy as np

A = np.arange(12).reshape((3,4))
print(A)

# np.split 等量分割
# np.array_split 不等量分割
print(np.vsplit(A,3)) #横向分成3块
print(np.hsplit(A,2)) #纵向分成2块